package 实现_电影类_4_19;

//打印_删除_插入_添加
public class Test_4_19 {
    public static void main(String[] args) {

        //这个movies只是在栈区中开辟的一块空间而已，并不是三块
        //这块空间保存的是后面数组的地址
        Movie movies = new Movie(20);

        movies.getAdd("长津湖", 9.7, "中国", "吴京");
        movies.getAdd("我和我的父辈", 9.5, "台湾", "甄子丹");
        movies.getAdd("五个扑水的少年", 8.9, "欧美", "泰森");
        System.out.println("--------------------");
        //System.out.println(movies);
      // movies.remove("adad");
        //movies.remove1(1);
        //System.out.println(movies);
        //movies.remove1(3);
        System.out.println(movies);
        System.out.println("--------------------");
        //movies.get_Check3("我和我的父辈");
        movies.insert(1);
        System.out.println(movies);

    }
}
